package com.mm.common.domain.po;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_log")
public class LogInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long uid;
    private String method;
    private String log;
    private String url;
    private String requestMethod;
    private String ip;
    @TableField(value = "`createTime`")
    @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private Long duration;

}
